MqttClientProxyMessageOrBuilder

Functions

Link copied to clipboard
abstract fun getData(): ByteString

Bytes
bytes data = 2;
Link copied to clipboard
abstract fun getRetained(): Boolean

Whether the message should be retained (or not)
bool retained = 4;
Link copied to clipboard
abstract fun getText(): String

Text
string text = 3;
Link copied to clipboard
abstract fun getTextBytes(): ByteString

Text
string text = 3;
Link copied to clipboard
abstract fun getTopic(): String

The MQTT topic this message will be sent /received on
string topic = 1;
Link copied to clipboard
abstract fun getTopicBytes(): ByteString

The MQTT topic this message will be sent /received on
string topic = 1;
Link copied to clipboard
abstract fun hasData(): Boolean

Bytes
bytes data = 2;
Link copied to clipboard
abstract fun hasText(): Boolean

Text
string text = 3;